Skip to main content

DisjointQ

DisjointQ[list1,list2] yields True if list1 and list2 do not share any common elements, and False otherwise.

Please visit the official Wolfram Language Reference for more details and examples on core symbols.